package co.com.javeriana.aes.touresbalon.exernalservices;

import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.ejb.Stateless;

/**
 *
 * @author Jonathan Fernandez <jonathan.fvargas@gmail.com>
 */
@WebService(serviceName = "AAFlightsService")
@Stateless()
public class AAFlightsService {

    /**
     * American airlines flight cancel service
     * @param flightNumber
     * @param passId
     * @return true
     */
    @WebMethod(operationName = "cancelFligth")
    public boolean cancelFligth(@WebParam(name = "fligthNumber") int flightNumber, @WebParam(name = "passId") int passId) {
        return true;
    }
}
